package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "定时闹钟", description = "用于学习的定时闹钟")
public class Clock {

    /*编号*/
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    /*闹钟时间*/
    @ApiModelProperty(value = "闹钟响铃的时间", example = "11:03")
    private String time;
    /*秒数*/
    @ApiModelProperty(value = "响铃时间对应的秒数,比如8:00就是28800", example = "28800")
    private String second;
    /*播放铃声*/
    @ApiModelProperty(value = "响铃时播放的铃声", example = "绅士")
    private String name;
    /*重复天数*/
    @ApiModelProperty(value = "在哪几天也响铃", example = "周四,周五")
    private String day;
    /*是否开启*/
    @ApiModelProperty(value = "是否要开启响铃功能'1'是开启'0'是关闭", example = "1")
    private String mark;
    /*用户编号*/
    @ApiModelProperty(value = "用户的uid与user表的id相对应", example = "1")
    private Integer uid;
    @ApiModelProperty(value = "闹钟标签,类似备注", example = "现在读书")
    private String note;

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    /*用户昵称*/
    @ApiModelProperty(value = "用户名", example = "刘思琪")
    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSecond() {
        return second;
    }

    public void setSecond(String second) {
        this.second = second;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
